<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>
        'use strict';
        var Student = {
            name : "秦琴",
            age : 3,
            run : function (){
                console.log(this.name + " run....");
            }
        };

        var xiaoming = {
            name : "小明"
        };

        //小明的原型时user 老版本的写法
        xiaoming.__proto__ = Student;


    </script>

</head>
<body>

</body>
</html>